package com.delu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Liu
 * @since 2021-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("site")
@AllArgsConstructor
@NoArgsConstructor
public class Site implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 站点id
     */
    @TableId(value = "site_id", type = IdType.AUTO)
    private Long siteId;

    /**
     * 站点名称
     */
    private String siteName;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 站点地址
     */
    private String addr;

    /**
     * 负责人
     */
    private String reciver;

    /**
     * 营业时间
     */
    private LocalDate businessHour;

    /**
     * 站点图片
     */
    private String siteImg;

    /**
     * 区号
     */
    private Integer areaId;


}
